<template>
	<view class="container">
		<view @click="fanhui" class="top">
			<uni-icons type="left" size="25"></uni-icons>
			返回
		</view>
		<view class="header">
			<text class="title">推广标题|推广标题|推广标题|推广标题|推广标题|推广标题|</text>
		</view>
		<view class="content">
			<text class="label">原创 | 标签 | 作者</text>
			<text class="date">2025年01月01日 12:00 北京</text>
			<text class="views">👀 3人</text>
			<text class="paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</text>
			<text class="paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</text>
		</view>
		<view class="image">
			<image src="https://axhub.im/ax9/c875ba3dcbdc9be9/images/%E6%8E%A8%E5%B9%BF%E9%A1%B5/u23.svg"
				mode="aspectFit"></image>
		</view>

		<view class="footer">
			<view class="left">
				<image style="width: 50rpx; height: 52rpx;"
					src="https://axhub.im/ax9/c875ba3dcbdc9be9/images/%E6%8E%A8%E5%B9%BF%E9%A1%B5/u26.svg" mode="">
				</image>
				<text>作者</text>
				<view class="guanzu">
					+关注
				</view>
			</view>
			<view class="right">
				<image style="width: 50rpx; height: 52rpx;"
					src="https://axhub.im/ax9/c875ba3dcbdc9be9/images/%E6%8E%A8%E5%B9%BF%E9%A1%B5/u29.svg" mode="">
				</image>
				<image style="width: 50rpx; height: 52rpx;"
					src="https://axhub.im/ax9/c875ba3dcbdc9be9/images/%E6%8E%A8%E5%B9%BF%E9%A1%B5/u29.svg" mode="">
				</image>
			</view>
		</view>
	</view>
</template>

<script setup>
	const fanhui = () => {
		uni.navigateBack({
			delta: 1
		})
	}
</script>

<style scoped>
	.header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 16px;
	}

	.back-icon {
		font-size: 18px;
	}

	.title {
		font-size: 20px;
		font-weight: bold;
		padding: 30rpx;
	}

	.content {
		margin-bottom: 16px;
	}

	.label {
		font-size: 14px;
		color: #888;
	}

	.date,
	.views {
		font-size: 14px;
		color: #555;
	}

	.paragraph {
		font-size: 16px;
		line-height: 1.6;
		margin-top: 8px;
	}

	.image {
		width: 100%;
		height: 150px;
		background-color: #f0f0f0;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.author-info {
		display: flex;
		align-items: center;
	}

	.author-name {
		font-size: 16px;
		color: #E60012;
		margin-right: 10px;
	}

	.follow-button {
		font-size: 16px;
		color: #E60012;
		background-color: #ffffff;
		border: 1px solid #E60012;
		padding: 5px 10px;
		border-radius: 5px;
	}

	.actions {
		display: flex;
	}

	.action-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-left: 10px;
	}

	.action-icon {
		font-size: 16px;
		color: #000000;
	}

	.action-count {
		font-size: 14px;
		color: #000000;
	}

	.top {
		width: 750rpx;
		height: 100rpx;
		background-color: #ffffff;
		display: flex;
		align-items: center;
	}

	.footer {
		width: 750rpx;
		position: fixed;
		bottom: 0;
		height: 100rpx;
		background: inherit;
		background-color: rgba(215, 215, 215, 1);
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.guanzu {
		width: 116rpx;
		height: 25rpx;
		background-color: #ffffff;
		font-size: 22rpx;
		text-align: center;
	}

	.left {
		display: flex;
		align-items: center;
		width: 300rpx;
		justify-content: space-between;
	}

	.right {
		width: 150rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
</style>